package com.SmartCommunity.POJO;

public class Sale {


    private int  id;
    private String saleDepart;
    private String salesman;
    private String saleTime;
    private String product;
    private int price;
    private int saleNum;
    private int totalPrice;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getSaleDepart() {
        return saleDepart;
    }

    public void setSaleDepart(String saleDepart) {
        this.saleDepart = saleDepart;
    }

    public String getSalesman() {
        return salesman;
    }

    public void setSalesman(String salesman) {
        this.salesman = salesman;
    }

    public String getSaleTime() {
        return saleTime;
    }

    public void setSaleTime(String saleTime) {
        this.saleTime = saleTime;
    }

    public String getProduct() {
        return product;
    }

    public void setProduct(String product) {
        this.product = product;
    }

    public int getPrice() {
        return price;
    }

    public void setPrice(int price) {
        this.price = price;
    }

    public int getSaleNum() {
        return saleNum;
    }

    public void setSaleNum(int saleNum) {
        this.saleNum = saleNum;
    }

    public int getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(int totalPrice) {
        this.totalPrice = totalPrice;
    }

    @Override
    public String toString() {
        return "Sale{" +
                "id=" + id +
                ", saleDepart='" + saleDepart + '\'' +
                ", salesman='" + salesman + '\'' +
                ", saleTime='" + saleTime + '\'' +
                ", product='" + product + '\'' +
                ", price=" + price +
                ", saleNum=" + saleNum +
                ", totalPrice=" + totalPrice +
                '}';
    }
}
